//
//  NSDate+Extension.m
//  YuDou
//
//  Created by yingqi on 2018/6/22.
//  Copyright © 2018年 yingqi. All rights reserved.
//

#import "NSDate+Extension.h"

@implementation NSDate (Extension)

+ (NSString *)getcurrentTime
{
    NSTimeInterval currentTime= [[NSDate date] timeIntervalSince1970];
    long long int date = (long long int)currentTime;
    NSString * timeStr = [NSString stringWithFormat:@"%lld",date];
    return timeStr;
}
@end
